/*
 *  QueueServerMediaSubsession.cpp - A generic subsession class for our frame queue
 *  Copyright (C) 2014  Fundació i2CAT, Internet i Innovació digital a Catalunya
 *
 *  This file is part of liveMediaStreamer.
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *  Authors:  David Cassany <david.cassany@i2cat.net>,
 *            
 */


#ifndef _QUEUE_SERVER_MEDIA_SUBSESSION_HH
#define _QUEUE_SERVER_MEDIA_SUBSESSION_HH

#include <liveMedia.hh>
#include <vector>
#include "../../IOInterface.hh"


class QueueServerMediaSubsession: public OnDemandServerMediaSubsession {
public:
    ~QueueServerMediaSubsession();
    
    virtual std::vector<int> getReaderIds() = 0;
    
protected: 
    QueueServerMediaSubsession(UsageEnvironment& env, Boolean reuseFirstSource);
};

#endif
